enum AnEnum { One = 1, Two = 2 } let stringOne = AnEnum[1]; // "One" let stringTwo = AnEnum[AnEnum.Two]; // "Two"